import { service } from '@/utils/request'
import store from '../store/index';

// 侧边栏
export function getSideBar() {
  return service({
    url: '/agentusers/get_menu',
    method: 'post',
    data: {
      token: store.state.user.token
    }
  })
}
// 获取应用种类
export function getApplySort() {
  return service({
    url: '/application/app_kind',
    method: 'post',
    data: {
      token: store.state.user.token
    }
  })
}
